Adwaita: headerbar backdrop state
authorJakub Steiner <jimmac@gmail.com>
Thu, 29 Nov 2018 13:34:53 +0000 (14:34 +0100)
committerJakub Steiner <jimmac@gmail.com>
Thu, 29 Nov 2018 13:34:53 +0000 (14:34 +0100)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index fb7e20b3339e864f1f12e3d2cd1a9d7cab1a9f05..efe76e8ed7a8147a13b677d531b732e393927d5a 100644 (file)
@@ -1740,10 +1740,16 @@ window.devel {
                  linear-gradient(to top, lighten($c, 3%) 3px, lighten($c, 5%));
     }
 
-    background: transparent $gradient;
+    background: $bg_color $gradient;
     color: transparentize($fg_color,.9);
     
     label { color: $fg_color; }
+
+    &:backdrop {
+      background: $bg_color -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat,
+                  image($bg_color); /* background-color would flash */
+      color: transparentize($fg_color,.95);
+    }
   }
 }
 
index 8b825b6dd73f0326a16a03d53b4c73635247845e..e0b185d432725ff5e6fd1f59fa15b725aa392248 100644 (file)
@@ -698,10 +698,12 @@ window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparen
 
 .titlebar:not(headerbar) separator { background-color: #252526; }
 
-window.devel headerbar.titlebar:not(.selection-mode) { background: transparent -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(21, 83, 158, 0.1)), linear-gradient(to top, #2d2d2e 3px, #323233); color: rgba(238, 238, 236, 0.1); }
+window.devel headerbar.titlebar:not(.selection-mode) { background: #3f3e40 -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(21, 83, 158, 0.1)), linear-gradient(to top, #2d2d2e 3px, #323233); color: rgba(238, 238, 236, 0.1); }
 
 window.devel headerbar.titlebar:not(.selection-mode) label { color: #eeeeec; }
 
+window.devel headerbar.titlebar:not(.selection-mode):backdrop { background: #3f3e40 -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, image(#3f3e40); /* background-color would flash */ color: rgba(238, 238, 236, 0.05); }
+
 /************ Pathbars * */
 .path-bar button.text-button, .path-bar button.image-button, .path-bar button { padding-left: 4px; padding-right: 4px; }
 
index 28d17120ac24e525612e3e2099a3c888bf1b15c4..7d5a61459b6f4906e562bfbec92a65938c74826b 100644 (file)
@@ -706,10 +706,12 @@ window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparen
 
 .titlebar:not(headerbar) separator { background-color: #d6d1cd; }
 
-window.devel headerbar.titlebar:not(.selection-mode) { background: transparent -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(53, 132, 228, 0.2)), linear-gradient(to top, #d8d4d0, #dfdcd8 3px, #edebe9); color: rgba(46, 52, 54, 0.1); }
+window.devel headerbar.titlebar:not(.selection-mode) { background: #f6f5f4 -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to right, transparent 65%, rgba(53, 132, 228, 0.2)), linear-gradient(to top, #d8d4d0, #dfdcd8 3px, #edebe9); color: rgba(46, 52, 54, 0.1); }
 
 window.devel headerbar.titlebar:not(.selection-mode) label { color: #2e3436; }
 
+window.devel headerbar.titlebar:not(.selection-mode):backdrop { background: #f6f5f4 -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, image(#f6f5f4); /* background-color would flash */ color: rgba(46, 52, 54, 0.05); }
+
 /************ Pathbars * */
 .path-bar button.text-button, .path-bar button.image-button, .path-bar button { padding-left: 4px; padding-right: 4px; }